using rbac.domain.Entity;

namespace rbac.domain.Interface;

public interface IPermissionRepository
{
    IQueryable<Permission> Permissions();

    int Add(Permission entity);

    int Update(Permission entity);

    int Delete(int loginUserId,params int[] id);
}